
package com.teamcalendar.client.model;

import java.io.Serializable;

/**
 * @author David Wallin
 */
public class User implements Serializable {

	private static final long	serialVersionUID = 5483621793254344161L;

	private String				name;
	private String				password;

	/**
	 *
	 * @param name
	 * @param password
	 */
	public User(String name, String password) {
		super();

		this.name = name;
		this.password = password;
	}

	/**
	 * @param name
	 */
	public User(String name) {
		super();

		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "User [name=" + name + "]";
	}
}
